package lab02.Test07;

/**
 * Created by tanfei on 2017/10/25.
 */
public class Test {
    public static void main(String[] args) {
        Person a=new Person();
        a.age="年龄：19";
        a.name="姓名：joker";
        a.id="身份证号：66666666666";
        Student b=new Student();
        b.name="joler";
        b.age="20";
        b.id="16666666";
        b.school="学校：四川旅游学院";
        b.number="学号：66666";
        System.out.println(a.getInfo());
        System.out.println(b.getInfo());

    }
}
